package com.zj.web.controller;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 认证请求DTO(用于登录)
 *
 * */
@Data
public class AuthRequest {
    //NotBlank 用于作字符串的非空校验
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    private String password;
}
